package com.wonders.bigdata.rpc.rpc_serial;

import java.io.Serializable;

/**
 * Description: <br>
 *
 * @author: XB
 * @date: 2021/4/25 11:03
 */
public class Person implements Serializable {
    private String name;
    private Integer agx;

    public Person(String name, Integer agx) {
        this.name = name;
        this.agx = agx;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAgx() {
        return agx;
    }

    public void setAgx(Integer agx) {
        this.agx = agx;
    }

    @Override
    public String toString() {
        return "Person{" +
                "name='" + name + '\'' +
                ", agx=" + agx +
                '}';
    }
}
